package 一维数组;

public class Demo7 {
    public static void main(String[] args) {
        int[] arr;
        char[] chars;
        double[] doubles;
        String[] strings;
        float[] floats;;
        long[] longs;
        short[] shorts;;
        arr=new int[]{1,3,5,7,9};
        chars=new char[]{'a','b','c','d','e','f'};
        System.out.println(arr);
        System.out.println(chars);
        int[] arr2={1,3,5,7,9};
        String[] strings2={"a","b","c","d","e","f"};
    }
}
